package com.qiqi.order.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.qiqi.endproductwarehouse.model.EndProductWarehouseDTO;
import com.qiqi.order.dto.InwarehouseDTO;
import com.qiqi.order.entity.InwarehouseDO;
import com.qiqi.order.mapper.InwarehouseMapper;
import com.qiqi.order.service.InwarehouseService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author QiQiDream
 * @since 2020-12-08
 */
@Service
public class InwarehouseServiceImpl extends ServiceImpl<InwarehouseMapper, InwarehouseDO> implements InwarehouseService {

    @Resource
    private InwarehouseMapper inwarehouseMapper;

    @Override
    public IPage<EndProductWarehouseDTO> getList(Page<InwarehouseDTO> page, String no, String name) {
        return inwarehouseMapper.getList(page, no, name);
    }
}
